--[[	QuestList entries consist of the following fields:
	questid = { 		QuestID, obtained through wowhead or extracting it from the quest link.
		-- required
		zoneMajor	Name of the zone in which the daily quest is completed.
		zoneMinor	Name of the specific subzone in which the quest is completed. Array if more than one zone.
		
		-- one required. custom takes precedence over action.
		action		action of the item that needs to be used. This can be one of three types:
				* a string containing the macro body.
				* the itemid of the item that should be used
				* A table containing a list of subzones followed by one of the above. -> {{subzone1, subzone2, actionforthosesubzones},{subzone3, actionforthatsubzone}}
				  This allows you to have different actions for different subzones
				  Note that the original zoneMinor field should also contain these zone names.


		-- optional
		prio		Quests with higher priority will be assigned a button before lower prio when pressed for buttons. 
				Defaults to 0 when not specified. Negative values are allowed.
				
		-- special
		questname	This is filled in automatically with the (hopefully) localised questname.
	}
]]
local QuestList = {
	-- Storm Peaks 
	-- Brunnhildar Village - Gretta the Arbiter's quests.
	[13422] = {	-- Maintaining Discipline
		zoneMajor = "The Storm Peaks",
		zoneMinor = "The Forlorn Mine",
		action = "/target Exhausted Vrykul\n/use item:42837",
	},
	
	[13424] = {	-- Back to the Pit
		zoneMajor = "The Storm Peaks",
		zoneMinor = "The Pit of the Fang",
		action = 42499,
	},
	
	[13425] = {	-- The Aberrations Must Die
		zoneMajor = "The Storm Peaks",
		zoneMinor = {"Valkyrion", "The Blighted Pool"},
		action = 41612,
	},

	-- Dun Niffelem
	[12977] = {	-- Blowing Hodir's Horn
		zoneMajor = "The Storm Peaks",
		zoneMinor = "Thunderfall",
		action = 42164,
	},
	
	[12994] = {	-- Spy Hunter
		zoneMajor = "The Storm Peaks",
		zoneMinor = "Valley of Ancient Winters",
		action = 42479,
	},
	
	[12981] = {	-- Hot and Cold
		zoneMajor = "The Storm Peaks",
		zoneMinor = {"Frostfield Lake", "Fjorn's Anvil"},
		action = 42246,
	},
	
	[13003] = {	-- Thrusting Hodir's Spear
		zoneMajor = "The Storm Peaks",
		zoneMinor = "Valley of Ancient Winters",
		action = 42769,
		prio = -1,
	},
	
	[13046] = {	-- Feeding Arngrim
		zoneMajor = "The Storm Peaks",
		zoneMinor = "Valley of Ancient Winters",
		action = 42774,
	},
	
	-- Borean Tundra
	-- Transitus Shield
	[11940] = {	-- Drake Hunt
		zoneMajor = "Borean Tundra",
		zoneMinor = "Coldarra",
		action = 35506,
	},
	
	-- Zul'drak
	-- Argent Crusade dailies
	[12502] = {	-- Troll Patrol: High Standards
		zoneMajor = "Zul'Drak",
		zoneMinor = "Drak'Sotra",
		action = 38544,
	},
	
	[12568] = {	--Troll Patrol: Done to Death
		zoneMajor = "Zul'Drak",
		zoneMinor = "Drak'Sotra",
		action = 38556,
	},
	
	[12588] = {	-- Troll Patrol: Can You Dig it?
		zoneMajor = "Zul'Drak",
		zoneMinor = "Drak'Sotra",	-- Questgiver subzone. Subzone for dirt mounds is unnamed and therefor "".
		action = 38566,
	},
		
	[12591] = {	-- Troll Patrol: Throwing Down
		zoneMajor = "Zul'Drak",
		zoneMinor = "Drak'Sotra",
		action = 38574,
	},
	
	-- Sholazar Basin
	-- Frenzyheart Tribe
	[12702] = {	-- Chicken Party!
		zoneMajor = "Sholazar Basin", 
		zoneMinor = "Frenzyheart Hill",
		action = 38689,
	},
	
	[12703] = {	-- Kartak's Rampage
		zoneMajor = "Sholazar Basin",
		zoneMinor = "Kartak's Hold",
		action = 39265,
	},
	
	[12758] = {	-- A Hero's Headgear
		zoneMajor = "Sholazar Basin",
		zoneMinor = "The Stormwright's Shelf",
		action = 39651,
	},
	
	[12734] = {	-- Rejek: First Blood
		zoneMajor = "Sholazar Basin",
		zoneMinor = {"Frenzyheart Hill","Sapphire Hive", "Bittertide Lake", "Mistwhisper Refuge"},	-- Monkeys are in "", using questgiver zone instead.
		action = 39577,
	},
	
	[12760] = {	-- Secret Strength of the Frenzyheart
		zoneMajor = "Sholazar Basin",
		zoneMinor = {"Kartak's Hold", "Sparktouched Haven", "The Path of the Lifewarden"},
		action = "/castsequence Wolvar Berries, item:39737, item:39737",
	},
	
	[12732] = {	-- The Heartblood's Strength
		zoneMajor = "Sholazar Basin",
		zoneMinor = {"The Suntouched Pillar", "The Bonefields"},
		action = {{"The Suntouched Pillar",39574}, {"The Bonefields", 39576}},
	},
	
	[12759] = {	-- Tools of War
		zoneMajor = "Sholazar Basin",
		zoneMinor = {"Kartak's Hold", "Sparktouched Haven", "The Path of the Lifewarden"},
		action = "/cast [mod:shift]Spike Bomb;[mod:ctrl]Ensnaring Trap;Volatile Trap",
	},
	
	-- Icecrown
	-- Knights of the Ebon Blade dailies
	[12813] = {	-- From Their Corpses, Rise!
		zoneMajor = "Icecrown",
		zoneMinor = "Onslaught Harbor",
		action = 40587,
	},
	
	[12815] = {	-- No Fly Zone
		zoneMajor = "Icecrown",
		zoneMinor = "Onslaught Harbor",
		action = 40600,
		prio = -1,
	},
	
	[12995] = {	-- Leave Our Mark
		zoneMajor = "Icecrown",
		zoneMinor = {"Jotunheim","Valhalas", "Njorndar Village"},
		action = 42480,
	},
	
	-- Warsong Offensive
	[13261] = {	-- Volatility
		zoneMajor = "Icecrown",
		zoneMinor = "The Broken Front",
		action = 43608,
	},
	
	[13276] = {	-- That's Abominable!
		zoneMajor = "Icecrown",
		zoneMinor = "The Broken Front",
		action = 43968,
	},
}

-- Add the questlist.
gotDailies:AddQuestlist(QuestList)